<!DOCTYPE HTML>
<html>
<head>
    <title>Login</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="keywords" content="Modern Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design"/>
    <script type="application/x-javascript"> addEventListener("load", function () {
        setTimeout(hideURLbar, 0);
    }, false);
    function hideURLbar() {
        window.scrollTo(0, 1);
    } </script>
    <link href="/static/xBlog_admin/css/bootstrap.min.css" rel='stylesheet' type='text/css'/>
    <link href="/static/xBlog_admin/css/style.css" rel='stylesheet' type='text/css'/>
    <link href="/static/xBlog_admin/css/font-awesome.css" rel="stylesheet">
    <script src="/static/xBlog_admin/js/jquery.min.js"></script>
    <script src="/static/xBlog_admin/js/bootstrap.min.js"></script>
</head>
<body id="login">
<div class="login-logo">
    <a href="{% url 'home' %}"><img src="/static/xBlog_admin/images/logo1.png" alt=""
                                    style="width: 300px; margin-left: -14px;"/></a>
</div>
<h2 class="form-heading">login</h2>
<div class="app-cam">
    <form method="post" action="{% url 'login' %}">
        {% csrf_token %}
        <input type="text" class="text" name="username" value="Username" onfocus="this.value = '';"
               onblur="if (this.value == '') {this.value = 'Username';}">
        <input type="text" name="password" value="Password"
               onfocus="if(this.type=='text'){this.type='password';this.value='';}"
               onblur="if (this.value == '') {this.type='text';this.value = 'Password';}">
        <div class="submit"><input type="submit" value="Login"></div>
        <input type="hidden" name="next" value="{{ next }}">
    </form>
</div>
<div class="copy_layout login">
    <p>Copyright &copy; 2016. All rights reserved. Powered by Python大鹌鹑.</p>
</div>
<script>
    $(function () {
        $('body').css('height',window.innerHeight);
    });
    window.onresize=function () {
        $('body').css('height',window.innerHeight);
    }
</script>
</body>
</html>
